package com.bicon.base.data.pojo.botu;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 存放一日三餐食物的基本数据
 * </p>
 *
 * @author zhoutyianqi
 * @since 2018-07-25
 */
@TableName("t_h_food")
public class THFood extends Model<THFood> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 名称
     */
    private String name;
    /**
     * 列表展示图
     */
    @TableField("item_image")
    private String itemImage;
    /**
     * 首页推荐图及详情页顶部展示图
     */
    @TableField("top_image")
    private String topImage;
    /**
     * 规格说明（一个、一杯、一碗等）
     */
    private String specifications;
    /**
     * 千卡
     */
    private Integer kcal;
    /**
     * 千焦
     */
    private Integer kj;
    /**
     * 介绍食物亮点
     */
    private String instruction;
    /**
     * 删除标志：0正常，1删除
     */
    @TableField("logic_delete")
    private String logicDelete;
    /**
     * 创建时间
     */
    @TableField("create_date")
    private Date createDate;
    /**
     * 更新时间
     */
    @TableField("update_date")
    private Date updateDate;
    /**
     * 重量标准名称
     */
    @TableField("weight_standard_name")
    private String weightStandardName;
    /**
     * 重量标准id
     */
    @TableField("weight_standard_id")
    private Integer weightStandardId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getItemImage() {
        return itemImage;
    }

    public void setItemImage(String itemImage) {
        this.itemImage = itemImage;
    }

    public String getTopImage() {
        return topImage;
    }

    public void setTopImage(String topImage) {
        this.topImage = topImage;
    }

    public String getSpecifications() {
        return specifications;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    public Integer getKcal() {
        return kcal;
    }

    public void setKcal(Integer kcal) {
        this.kcal = kcal;
    }

    public Integer getKj() {
        return kj;
    }

    public void setKj(Integer kj) {
        this.kj = kj;
    }

    public String getInstruction() {
        return instruction;
    }

    public void setInstruction(String instruction) {
        this.instruction = instruction;
    }

    public String getLogicDelete() {
        return logicDelete;
    }

    public void setLogicDelete(String logicDelete) {
        this.logicDelete = logicDelete;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getWeightStandardName() {
        return weightStandardName;
    }

    public void setWeightStandardName(String weightStandardName) {
        this.weightStandardName = weightStandardName;
    }

    public Integer getWeightStandardId() {
        return weightStandardId;
    }

    public void setWeightStandardId(Integer weightStandardId) {
        this.weightStandardId = weightStandardId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "THFood{" +
        "id=" + id +
        ", name=" + name +
        ", itemImage=" + itemImage +
        ", topImage=" + topImage +
        ", specifications=" + specifications +
        ", kcal=" + kcal +
        ", kj=" + kj +
        ", instruction=" + instruction +
        ", logicDelete=" + logicDelete +
        ", createDate=" + createDate +
        ", updateDate=" + updateDate +
        ", weightStandardName=" + weightStandardName +
        ", weightStandardId=" + weightStandardId +
        "}";
    }
}
